package com.yesep.learn.netty.tcp.protocol.common;

public class Constants {
	/**   默认字符编码	 **/
	public final static String CHARSET = "UTF-8";

	/** 重发次数 **/
	public final static Integer REPEAT = 3;

	/**  数据包最大长度 **/
	public final static Integer PKG_MAX_LENGTH = 2048;
	/**  包头,固定 **/
	public final static String PKG_HEADER = "##";
	/**  包尾,固定为<CR><LF>（回车，换行）**/
	public final static String PKG_FOOTER = "\r\n";

	/**  数据段不同项目之间用‘；’来分隔 **/
	public final static String DATA_SPLIT = ";";

	/**  在数据区中，同一项目的不同分类值间用‘，’来分隔 **/
	public final static String DATA_SPLIT_SAME = ",";

	/** 监控指标ID与数据类型用‘-’来分隔 **/
	public final static String DATA_SPLIT_INTERVAL = "-";

	/**  数据段字段与其值用‘=’连接 **/
	public final static String DATA_EQ = "=";
	//数据区字段定义
	/** 系统时间 **/
	public final static String PARAM_SystemTime = "SystemTime";
	/** 执行结果回应代码 **/
	public final static String PARAM_ExeRtn = "ExeRtn";
	/** 请求应答结果 **/
	public final static String PARAM_QnRtn = "QnRtn";
	/** 监测时间 **/
	public final static String PARAM_DataTime = "DataTime";
	/** 监测值 **/
	public final static String PARAM_POL_Rtd = "Rtd";
	/** 小时数据监测值 **/
	public final static String PARAM_POL_Avg = "Avg";
	/** 监测数据标识 **/
	public final static String PARAM_POL_Flag = "Flag";
	/** 水样测试时间 **/
	public final static String PARAM_POL_WaterTime = "WaterTime";
	/** 水样值 **/
	public final static String PARAM_POL_Water = "Water";
	/** 标样标准浓度 **/
	public final static String PARAM_POL_StandardValue = "StandardValue";
	/** 仪器跨度值 **/
	public final static String PARAM_POL_SpanValue = "SpanValue";
	/** 加标体积 **/
	public final static String PARAM_POL_Volume = "Volume";
	/** 加标水杯定容体积 **/
	public final static String PARAM_POL_DVolume = "DVolume";
	/** 开始时间 **/
	public final static String PARAM_BeginTime = "BeginTime";
	/** 截止时间 **/
	public final static String PARAM_EndTime = "EndTime";
	/** 流程时间 **/
	public final static String PARAM_Time = "Time";
	/** 监测因子编码 **/
	public final static String PARAM_PolId = "PolId";
	/** 经度 **/
	public final static String PARAM_Lng = "Lng";
	/** 纬度 **/
	public final static String PARAM_Lat = "Lat";
	/** 电压（伏） **/
	public final static String PARAM_Volt = "Volt";
	/** 温度（摄氏度） **/
	public final static String PARAM_Temp = "Temp";
	/** 湿度（%） **/
	public final static String PARAM_Hum = "Hum";
	/** 泵X **/
	public final static String PARAM_PumpX = "Pump";
	/** 阀X **/
	public final static String PARAM_ValveX = "Valve";
	/** 新密码 **/
	public final static String PARAM_NewPW = "NewPW";
	/** 系统运行模式 **/
	public final static String PARAM_RunMode = "RunMode";
	/** 系统采水泵状态 **/
	public final static String PARAM_PumpState = "PumpState";
	/** 系统当前任务 **/
	public final static String PARAM_SystemTask = "SystemTask";
	/** 系统控制阀数量 **/
	public final static String PARAM_ValveCount = "ValveCount";
	/** 系统控制阀状态 **/
	public final static String PARAM_ValveStateList = "ValveStateList";
	/** 沉砂池清洗时间 **/
	public final static String PARAM_SandCleanTime = "SandCleanTime";
	/** 水样静置时间 **/
	public final static String PARAM_SandWaitTime = "SandWaitTime";
	/** 等待仪表测量时间 **/
	public final static String PARAM_MeasureWaitTime = "MeasureWaitTime";
	/** 清洗外管路时间 **/
	public final static String PARAM_CleanOutPipeTime = "CleanOutPipeTime";
	/** 清洗内管路时间 **/
	public final static String PARAM_CleanInPipeTime = "CleanInPipeTime";
	/** 反吹时间 **/
	public final static String PARAM_AirCleanTime = "AirCleanTime";
	/** 反吹间隔 **/
	public final static String PARAM_AirCleanInterval = "AirCleanInterval";
	/** 清洗时间 **/
	public final static String PARAM_WcleanTime = "WcleanTime";
	/** 清洗间隔 **/
	public final static String PARAM_WcleanInterval = "WcleanInterval";
	/** 除藻选择 **/
	public final static String PARAM_AlgClean = "AlgClean";
	/** 系统报警 **/
	public final static String PARAM_SystemAlarm = "SystemAlarm";
	/** 留样瓶编号 **/
	public final static String PARAM_VaseNo = "VaseNo";
	/** 实时数据间隔 **/
	public final static String PARAM_RtdInterval = "RtdInterval";
	/** 测试间隔 **/
	public final static String PARAM_RunInterval = "RunInterval";
	/** 沉沙时间 **/
	public final static String PARAM_SandTime = "SandTime";
	/** 超时时间 **/
	public final static String PARAM_Overtime = "Overtime";
	/** 重发次数 **/
	public final static String PARAM_ReCount = "ReCount";
	/** 现场端信息类型 **/
	public final static String PARAM_TYPE_Info = "Info";
	/** 现场端信息编码 **/
	public final static String PARAM_InfoId = "InfoId";

}
